package com.xnyzc.lhy.mis.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
*
* 用户-角色
*
* @author liuju
* @since 2019-08-13
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysUserRole对象", description="用户-角色")
public class OaSysUserRole implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户编号")
    @TableId(value="user_id", type = IdType.INPUT)
    private Long userId;

    @ApiModelProperty(value = "角色编号")
    private Long roleId;


    public static final String USER_ID = "user_id";

    public static final String ROLE_ID = "role_id";

}
